package com.thinkit.bigdata.web.service.audioSearch;

import com.thinkit.bigdata.web.model.result.HtmlResult;
import org.elasticsearch.index.query.BoolQueryBuilder;

import javax.servlet.http.HttpServletRequest;
import java.lang.reflect.InvocationTargetException;
import java.util.List;
import java.util.Map;

public interface AudioSearchPubMet {

    Map<String, List<String>> strFormatJson(String provinceCode, String citys);

    HtmlResult searchData(String logTxt, Map<String, String[]> params, HttpServletRequest request) throws InvocationTargetException, IllegalAccessException;

    BoolQueryBuilder getQuery(String logTxt, Map<String, String[]> params, HttpServletRequest request);
}
